# coding:utf-8
# 曾山
# 2022/5/3 12:54

from flask_limiter import Limiter
from flask_limiter.util import get_remote_address

#创建限流器
limiter = Limiter(key_func=get_remote_address)